﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="mvc" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="fmt" uri="http://www.springframework.org/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
	<meta http-equiv="Expires" content="0" />
	<%--<link rel="stylesheet" href="/css/video/video.css">--%>
	<script>
		document.write("<link type='text/css' href='/css/video/video.css?version=" + new Date().getTime() + "' rel='stylesheet' />");
	</script>
	<style>
		.hide{display:none;}
	</style>
</head>
<body>
<div class="left">
	<div id="divPlugin" class="plugin"></div>

	<fieldset class="login hide">
		<legend>登录</legend>
		<table cellpadding="0" cellspacing="3" border="0">
		<%--	<tr>
				<td class="tt">IP地址</td>
				<td><input id="loginip" type="text" class="txt" value="192.168.0.100" /></td>
				<td class="tt">端口号</td>
				<td><input id="port" type="text" class="txt" value="80" /></td>
			</tr>
			<tr>
				<td class="tt">用户名</td>
				<td><input id="username" type="text" class="txt" value="admin" /></td>
				<td class="tt">密码</td>
				<td><input id="password" type="text" class="txt" value="admin6336" /></td>
			</tr>
			<tr>
				<td class="tt">设备端口</td>
				<td colspan="2"><input id="deviceport" type="text" class="txt" value="8000" />（可选参数）</td>
				<td>
					窗口分割数&nbsp;
					<select class="sel2" onchange="changeWndNum(this.value);">
						<option value="1">1x1</option>
						<option value="2" selected>2x2</option>
						<option value="3">3x3</option>
						<option value="4">4x4</option>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="4">
					<input type="button" class="btn" value="登录" onclick="clickLogin();" />
					<input type="button" class="btn2" value="全部预览" onclick="PlayAll()" />
					<input type="button" class="btn2" value="全部停止" onclick="PlayCloseAll()" />
					<input type="button" class="btn" value="退出" onclick="clickLogout();" />
					<input type="button" class="btn2" value="获取基本信息" onclick="clickGetDeviceInfo();" />
				</td>
			</tr>--%>
			<tr>
				<td class="tt">已登录设备</td>
				<td>
					<select id="ip" class="sel" onchange="getChannelInfo();"></select>
				</td>
				<td class="tt">通道列表</td>
				<td>
					<select id="channels" class="sel"></select>
				</td>
			</tr>
		</table>
	</fieldset>
	

</div>
<div class="left hide">
	<fieldset class="preview">
		<legend>预览</legend>
		<table cellpadding="0" cellspacing="3" border="0">
			<tr>
				<td class="tt">码流类型</td>
				<td>
					<select id="streamtype" class="sel">
						<option value="1">主码流</option>
						<option value="2">子码流</option>
						<option value="3">第三码流</option>
						<option value="4">转码码流</option>
					</select>
				</td>
				<td>
					<input type="button" class="btn" value="开始预览" onclick="clickStartRealPlay();" />
					<input type="button" class="btn" value="停止预览" onclick="clickStopRealPlay();" />
				</td>
			</tr>



			
		</table>
	</fieldset>
	
</div>
<div id="divPlugin1" class="plugin1"></div>
</body>
<script type="text/javascript" src="../lib/jQuery-File-Upload-master/jquery-1.8.3.min.js"></script>
<%--<script src="/js/base/base.js"></script>--%>
<script src="/lib/layer/layer.js?20201106"></script>
<script src="/js/video/webVideoCtrl.js"></script>
<script src="/js/video/video.js"></script>
</html>